package com.linden.std.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linden.std.domain.po.SysMenu;
import com.linden.std.domain.po.SysRole;
import com.linden.std.domain.po.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author linden
 * @since 2025-09-20
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {
    
    List<String> selectUserPermissions(@Param("userId") Long userId);
    
    List<SysRole> selectUserRoles(@Param("userId") Long userId);
    
    List<SysMenu> selectUserMenus(@Param("userId") Long userId);
}
